package com.itaem.community.modules.infrastructure.company.department.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.itaem.community.core.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 物业公司部门工作人员
 * </p>
 *
 * @author tomato
 * @since 2020-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("department_worker")
@ApiModel(value="DepartmentWorkerEntity对象", description="物业公司部门工作人员")
public class WorkerEntity extends Entity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工作人员id")
    private Integer workerId;

    @ApiModelProperty(value = "所属部门id")
    private Integer departmentId;

    @ApiModelProperty(value = "逻辑删除")
    private Boolean deleted;

}
